<!DOCTYPE html>
<script src="resources/paged-media-test-utils.js"></script>
<style>
    body,html{margin:0};
    div{background:red};
    div{height:11.69in;width:8.27in};
    @page{margin:0};
</style>
<div></div>
<script>

    if (window.testRunner)
        testRunner.dumpAsText();

    function test()
    {
        numberOfPagesShouldBe(1);
    }

    runPrintingTest(test);
</script>
